package com.memory.modules.business.service.sell;

import com.memory.modules.business.domain.sell.Logistics;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.Optional;

public interface LogisticsService {
    Logistics create(Logistics logistics);

    Logistics update(Long id, Logistics logistics);

    void remove(Long id);

    Optional<Logistics> findById(Long id);

    Page<Logistics> findPage(Example<Logistics> logistics);
}
